package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.mapper.HomeworkMutualMapper;
import com.smxy.daydayup.pojo.HomeworkMutual;
import com.smxy.daydayup.service.HomeworkMutualService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class HomeworkMutualServiceImpl implements HomeworkMutualService{

    @Resource
    private HomeworkMutualMapper homeworkMutualMapper;

    @Override
    public int deleteByPrimaryKey(Long homeworkMutualId) {
        return homeworkMutualMapper.deleteByPrimaryKey(homeworkMutualId);
    }

    @Override
    public int insert(HomeworkMutual record) {
        return homeworkMutualMapper.insert(record);
    }

    @Override
    public int insertSelective(HomeworkMutual record) {
        return homeworkMutualMapper.insertSelective(record);
    }

    @Override
    public HomeworkMutual selectByPrimaryKey(Long homeworkMutualId) {
        return homeworkMutualMapper.selectByPrimaryKey(homeworkMutualId);
    }

    @Override
    public int updateByPrimaryKeySelective(HomeworkMutual record) {
        return homeworkMutualMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(HomeworkMutual record) {
        return homeworkMutualMapper.updateByPrimaryKey(record);
    }

}
